package com.lagou.advice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author Roger
 * @date 2020/8/15 14:02
 * @description
 */
@Component
@Aspect
public class MyAdvice {

    @Before("execution(* com.lagou.service.impl.AccountServiceImpl.* (..))")
    public void before(){
        System.out.println("before...");
    }
}
